<?php

class NavigationView{
	
	private static $RegisterView = "Register";
	private static $BlogcommentsView = "Comments";
	private static $BlogpostsView = "Admin";	
	private static $EditBlogpostView = "Edit";
		// Kollar om url:en säger ?Register
		public function navRegister(){
			if(isset($_GET[self::$RegisterView])){
				return true;
			}
			return false;
		}
		
		public function navComment(){
			if(isset($_GET[self::$BlogcommentsView])){
				return TRUE;
			}
			return FALSE;
		}
		
		public function adminBlogposts(){
			if(isset($_GET[self::$BlogpostsView])){
				return TRUE;
			}
			return FALSE;
		}
		
		public function navEdit(){
			if(isset($_GET[self::$EditBlogpostView])){
				return TRUE;
			}
			return FALSE;
		}
}
